Top 10k strings from Disassembler & Editor (1982)(Campbell Systems).tap in <root> / bin / z80 / software / Sinclair Spectrum Collection TOSEC.exe / Sinclair ZX Spectrum - Utilities & Educational / Sinclair ZX Spectrum - Utilities & Educational - [TAP] (TOSEC-v2007-01-01) /

Back to the directory listing

   1 x #6C#6A#6L#6L##
   1 p$="USR address":
   1 p$="TO addr"
   1 p$="Move FROM addr"
   1 p$="Address":
   1 n6;"MENU";
   1 n6;"Any key to return to the menu.  "
   1 n6;"     DISASSEMBLER & EDITOR      "
   1 n5;"Operands "
   1 n5;"Op  ";
   1 n5;"INSTRUCTIONS":
   1 n5;"HexData ";
   1 n5;"Bad hex data, ignored":
   1 n5;"Addr";
   1 n5;"  Hex Data ";
   1 n(d$(i+o))
   1 n(d$(i))>15
   1 n(d$(i))<z
   1 n(a$(i))>15
   1 n(a$(i))<z
   1 m$(n33)+nb*
   1 a$="0"+a$:
   1 a$;" to ";
   1 a$;" for ";
   1 SPDE      o
   1 NZZ NCC POPEP M >
   1 J8QZ8Rj8Uz8SF`
   1 B1QR1Rb1Ur1SG
   1 ADDADCSUBSBCANDXOROR CP G
   1 @(xH(xP(xX(x`(xh(xx(x
   1 ;"Instructions"
   1 6R#6S#6T###
   1 6H#6A#6L#6T
   1 500F 00       NOP               
   1 34) pass target   address in binary, and (35) is Ffor full disassembly else plain edit is assumed." 
   1 32) is returned ready toprint, (33
   1 -n7*(l$>"9")-n32*(l$>"Z")
   1 ,,,,"The 2K module interfaces with   Basic via M$ which is the 1st   variable.                       M$(1
   1 ,,,,"             ";
   1 ,,," A......Show from Hex Address"
   1 ,,"Upper or lower case are equally valid, as they are for the menu keys generally."
   1 ,,"The use of preset variables     means that RUN and CLEAR must   not be used."
   1 ,,"The program will display memory in one of two formats - plain   hexadecimal and character, or   full Z80 dis-Assembly."
   1 ,,"The Menu options are quite easy to understand and memorise, and the Q key summons the menu."
   1 ,,"Move (M) is non-destructive no  matter which way the addresses  may overlap. It is in Basic, so be patient!"
   1 ,,"Most of the time we work with   hex notation, but also we need  decimal - so we have instant    conversion either way via keys  H and D.  Try them."
   1 ,,"Line 1670 calculates e which is entry address to the 2K machine code. So if you make any change to the Basic, resume execution  via GOTO 1670."
   1 ,,"It will also let you enter data in hex or character strings intoRAM, and is therefore a valuableaid in developing machine code."
   1 ,,"Forward 1-9 lines or forward    page are simple. So is back page(B) when in plain display mode. But back page in full disassem- bler overshoots deliberately so as to find correct Z80 instruct-ion alignment by coming forwardsagain."
   1 ,,"Delete lines 650 to 820 and 120 to remove these instructions andsave a bit a space, if needed."
   1 ,,"Data can be stored into RAM via Hex string (S) or via Character string (C). The start target    address is as the top left of   the edited display."
   1 ,,"A 2K module of machine code is  invoked to build each line of   the display.  The module is selfrelocating and we have placed itin M$(36
   1 +6D#6E#6C###
   1 )RLCRRCRL RR SLASRA???SRL
   1 (p$);" Hex ";
   1 "Should not RUN. Now you must    re-LOAD to restore the m/c of   the Disassembler.":
   1 "Hex Data = ";
   1 "Hex ";a$;
   1 "Give SAVE name ";
   1 "Decimal...";a
   1 "Dec length ";l
   1 "Character String...",
   1 "Also GOTO 1670 after any accid- ental drop into Command mode."
   1 "10";"= Hex 
   1 "10";"= Dec ";a
   1 " V......SAVE the Program"
   1 " S......Store Hex Data"
   1 " Q......This Menu"
   1 " Other..Forward Page"
   1 " M......Move Data"
   1 " I......";
   1 " H......Hex to Decimal Calc"
   1 " F......Flip Display Style"
   1 " E......Execute USR Code"
   1 " D......Decimal to Hex Calc"
   1 " C......Store Character Data"
   1 " B......Back Page"
   1 " 1-9....Forward 1-9 Lines"
   1  1982 CAMPBELL SYSTEMS (UK)   "